package com.leinao.service.impl;

import com.leinao.annotation.DataSource;
import com.leinao.domain.SysDeviceModel;
import com.leinao.domain.enums.DataSourceType;
import com.leinao.mapper.SysDeviceModelMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * description
 *
 * @author zhong.wang
 * @date 2025/1/13
 */
@Service
@DataSource(DataSourceType.MYSQLTO)
public class MysqlToDeviceModelService{

    @Resource
    private SysDeviceModelMapper sysDeviceModelMapper;


    public List<SysDeviceModel> getDeviceModelList() {
        return sysDeviceModelMapper.getDeviceModelList();
    }
}
